package com.dstz.agilebpm.springcloud.auth.edge.configuration;

import com.dstz.base.core.cache.ICache;
import com.dstz.base.core.cache.impl.MemoryCache;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.context.annotation.Bean;

/**
 * 缓存配置类
 *
 * @author wacxhs
 */
@SpringBootConfiguration
public class CacheConfiguration {

    @Bean
    public ICache cache(){

        return new MemoryCache();
    }

}
